<?php
class TaskTypeMapper implements IDataMapper {
	
	public function mapRow($row) {
		$tasktypeDto = new TaskTypeDto();
		$tasktypeDto->setId($row['id']);
		$tasktypeDto->setName($row['name']);
		$tasktypeDto->setDescription($row['description']);
		$tasktypeDto->setOrderId($row['order_id']);
		return $tasktypeDto;
	}
}

?>
